#include "Consumer.h"

#include <iostream>

using std::cout;
using std::endl;

Consumer::Consumer(){

}
Consumer::~Consumer(){

}
void Consumer::consume(TaskQueue &task){
    int cnt = 20;
    while(cnt--){
        int cnumber = task.pop();
        cout << "Consumer consume " << cnumber << endl;
    }
}
